﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1
{
    public class Result
    {
        public object result { get; set; }
    }

    public class ResultInfo
    {
        public string code { get; set; }
        public string msg { get; set; }        
        public object page { get; set; }
        public List<VideoInfo> data { get; set; }        
    }

    public class ResultData
    {
        public object data { get; set; }
        public string code { get; set; }
        public string msg { get; set; }
    }

    public class YSTime
    {
        /// <summary>
        /// 萤石云平台系统时间
        /// </summary>
        public string serverTime { get; set; }
    }

    public class AccessToken
    {
        public string accessToken { get; set; }
        public string userId { get; set; }
    }

    public class CameraInfo
    {
        public string deviceId { get; set; }
        public string deviceSerial { get; set; }
        public string deviceName { get; set; }
        public string cameraId { get; set; }
        public string cameraNo { get; set; }
        public string cameraName { get; set; }
        public int status { get; set; }
        public string isShared { get; set; }
        public string picUrl { get; set; }
        public string isEncrypt { get; set; }
        public string defence { get; set; }
        public string videoLevel { get; set; }
    }

    /// <summary>
    /// 摄像头信息
    /// </summary>
    public class VideoInfo
    { 
        public string squareId { get; set; }
        public string title { get; set; }
        public string address { get; set; }
        public string viewedCount { get; set; }
        public string likeCount { get; set; }
        public string commentCount { get; set; }
        public string favoriteCount { get; set; }
        public string coverUrl { get; set; }
        public string playUrl { get; set; }
        public string m3u8Url { get; set; }
        public string rtmpUrl { get; set; }
        public string longitude { get; set; }
        public string latitude { get; set; }      
    }

}